package cs271.examples.hashing;

import java.util.HashMap;

/**
 * An example that shows how to use the Hashmap class in the java
 * collections framework.  Remember that a map lets us associate one object,
 * the key, with another, the value.
 *
 */
public class HashMapExample {
	public static void main(String[] args) {
		HashMap<String, Integer>map = new HashMap<String, Integer>();
		
		map.put("one",1);
		map.put("two", 2);
		map.put("three", 3);
		
		System.out.println(map);
		
	}
}
